package com.linkage.usercenter.pojo.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 这是MyBatis Generator自动生成的Model Class.
 * 对应的数据表是 : USER_SUB_INFO
 * @author csf
 * @date 2020-07-21 23:43:46
 */
public class UserSubInfo implements Serializable {
    /**
     * 用户帐号
     */
    private String userCode;

    /**
     * 邮箱
     */
    private String userEmail;

    /**
     * 用户到期时间
     */
    private Date userExpireTime;

    /**
     * 用户子表状态
     */
    private String userSubFlag;

    /**
     * 短信消息
     */
    private String userMobileMsg;

    /**
     * 短信消息发送时间
     */
    private Date userMsgSentTime;

    /**
     * 短信发送状态
     */
    private String userMsgFlag;

    /**
     * 头像
     */
    private String userPhotoUrl;

    /**
     * 图像URL
     */
    private String userCardUrl;

    /**
     * 图像URL
     */
    private String userCardUrl2;

    private static final long serialVersionUID = 1L;

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode == null ? null : userCode.trim();
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail == null ? null : userEmail.trim();
    }

    public Date getUserExpireTime() {
        return userExpireTime;
    }

    public void setUserExpireTime(Date userExpireTime) {
        this.userExpireTime = userExpireTime;
    }

    public String getUserSubFlag() {
        return userSubFlag;
    }

    public void setUserSubFlag(String userSubFlag) {
        this.userSubFlag = userSubFlag == null ? null : userSubFlag.trim();
    }

    public String getUserMobileMsg() {
        return userMobileMsg;
    }

    public void setUserMobileMsg(String userMobileMsg) {
        this.userMobileMsg = userMobileMsg == null ? null : userMobileMsg.trim();
    }

    public Date getUserMsgSentTime() {
        return userMsgSentTime;
    }

    public void setUserMsgSentTime(Date userMsgSentTime) {
        this.userMsgSentTime = userMsgSentTime;
    }

    public String getUserMsgFlag() {
        return userMsgFlag;
    }

    public void setUserMsgFlag(String userMsgFlag) {
        this.userMsgFlag = userMsgFlag == null ? null : userMsgFlag.trim();
    }

    public String getUserPhotoUrl() {
        return userPhotoUrl;
    }

    public void setUserPhotoUrl(String userPhotoUrl) {
        this.userPhotoUrl = userPhotoUrl == null ? null : userPhotoUrl.trim();
    }

    public String getUserCardUrl() {
        return userCardUrl;
    }

    public void setUserCardUrl(String userCardUrl) {
        this.userCardUrl = userCardUrl == null ? null : userCardUrl.trim();
    }

    public String getUserCardUrl2() {
        return userCardUrl2;
    }

    public void setUserCardUrl2(String userCardUrl2) {
        this.userCardUrl2 = userCardUrl2 == null ? null : userCardUrl2.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", userCode=").append(userCode);
        sb.append(", userEmail=").append(userEmail);
        sb.append(", userExpireTime=").append(userExpireTime);
        sb.append(", userSubFlag=").append(userSubFlag);
        sb.append(", userMobileMsg=").append(userMobileMsg);
        sb.append(", userMsgSentTime=").append(userMsgSentTime);
        sb.append(", userMsgFlag=").append(userMsgFlag);
        sb.append(", userPhotoUrl=").append(userPhotoUrl);
        sb.append(", userCardUrl=").append(userCardUrl);
        sb.append(", userCardUrl2=").append(userCardUrl2);
        sb.append("]");
        return sb.toString();
    }
}